Management of pseudorandom animation system

ABSTRACT

Methods, devices, media, and other embodiments are described for managing and configuring a pseudorandom animation system and associated computer animation models. One embodiment involves generating image modification data with a computer animation model configured to modify frames of a video image to insert and animate the computer animation model within the frames of the video image, where the computer animation model of the image modification data comprises one or more control points. Motion patterns and speed harmonics are automatically associated with the control points, and motion states are generated based on the associated motions and harmonics. A probability value is then assigned to each motion state. The motion state probabilities can then be used when generating a pseudorandom animation.

TECHNICAL FIELD

Embodiments of the present disclosure relate generally to computeranimation and graphical user interfaces (GUI), including the generationand use of animation structures within a messaging system with access toaudio data.

BACKGROUND

Computer animation involves adding movement to structures within acomputer model that are output on a display of a device. Augmentedreality is the display of the physical world and/or physical objectstherein with an overlay of computer-generated perceptual information(e.g. animated computer models). The overlaid information may beconstructive (adding to the display) and/or destructive (masking of thedisplay). In either case, the computer-generated perceptual informationcan be animated to modify the information presented on a display of adevice.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

To easily identify the discussion of any particular element or act, themost significant digit or digits in a reference number refer to thefigure number in which that element is first introduced.

FIG. 1 is a block diagram showing an example messaging system forexchanging data (e.g., messages and associated content) over a network,which can include models and data for animation in accordance with someembodiments.

FIG. 2 is block diagram illustrating further details regarding amessaging system with elements for creating and implementing animationsaccording to example embodiments.

FIG. 3 is block diagram illustrating further details regarding amessaging system with elements for creating and implementing animationsaccording to example embodiments.

FIG. 4A is an interface diagram depicting aspects of a display and imagedata that can be animated according to certain example embodiments.

FIG. 4B illustrates a device display with aspects of an overlay that canbe implemented to generate an animation in accordance with someembodiments.

FIG. 4C illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 4D illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 4E illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 5A illustrates aspects of audio data which can be used with asystem for generating and displaying animations in accordance with someembodiments.

FIG. 5B illustrates aspects of audio data which can be used with asystem for generating and displaying animations in accordance with someembodiments.

FIG. 6A illustrates aspects of motion patterns that can be used as partof an animation state-space in accordance with some embodiments.

FIG. 6B illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 6C illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 7A illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 7B illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 7C illustrates aspects of motion patterns that can be used as partof an animation state-space in accordance with some embodiments.

FIG. 7D illustrates aspects of a computer model that can be used as partofa system for generating and displaying animations in accordance withsome embodiments.

FIG. 7E illustrates aspects of a system for generating and displayinganimations in accordance with some embodiments.

FIG. 8 illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 9A illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 9B illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 9C illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments.

FIG. 10 illustrates an example method in accordance with someembodiments described herein.

FIG. 11 illustrates an example method in accordance with someembodiments described herein.

FIG. 12 illustrates an example method in accordance with someembodiments described herein.

FIG. 13 illustrates an example method in accordance with someembodiments described herein.

FIG. 14 is a block diagram illustrating a representative softwarearchitecture, which may be used in conjunction with various hardwarearchitectures herein described and used to implement variousembodiments.

FIG. 15 is a block diagram illustrating components of a machine,according to some example embodiments, able to read instructions from amachine-readable medium (e.g., a machine-readable storage medium) andperform any one or more of the methodologies discussed herein.

DETAILED DESCRIPTION

Systems, methods, user interfaces, instructions stored in media,computing devices, and other various embodiments associated withconfiguring and generating animations are described. Certain embodimentsparticularly include structures for identifying a state-space ofpossible animations for a certain model. The state-space for a model canbe described by possible motions of independent control points withinthe model, as well as animation speeds for each action and each controlpoint. Each element of the state-space can have a probability assignedto configure pseudorandom animations with the probabilities of certainmotions being configurable. Additionally, some embodiments includematching aspects of the pseudorandom animations to audio signals, aswell as audio thresholds for initiating animations, and systems formatching the pseudorandom motions of a computer model to characteristicsof an audio signal.

For example, a designer can use an animation or overlay creation tool togenerate a model of a penguin having certain control points in themodel. A designer can select certain motions of the control points thatmap to certain audio characteristics as determined by the designer whilemaintaining an element of randomness to the motions of the animatedmodel. The control points can have possible motions assigned to describeall possible movements of all parts of the model. A designer can thenassign a probability to each motion, so that during a displayedanimation, the likelihood of certain motions occurring are setprobabilistically by the designer. Motions which the designer does notwant to occur are assigned a probability of zero, or are removed fromthe state-space. In addition to selection of motions for each controlpoint, a display speed can be selected as a harmonic of an audio tempoto allow the pseudorandom motions to be matched automatically to a tempoof music. In other embodiments, other characteristics can be set as partof a state-space for a model. When the computer animation is operatingon a device, the designer's selections of probabilities for the model'sstate-space influence the animation motions of the model. By matchingactions to a tempo of an audio stream, the computer model operating on adevice can display an animation with random elements that are matched toaudio data on or around the device. This can create a “dancing”animation that includes randomness selected from a large pool ofpossible motions, but with the motions filtered by a designer from allpossible motions to emphasize motions that illustrate characteristicsselected by a designer.

In addition to of the pseudorandom animations that can be matched toaudio, various characteristics can be used as thresholds on when certainanimations are to be performed. For example, certain beat elements canbe used to trigger a particular set of probabilities, and a differentbeat element or the absence of a distinct beat can be used to select adefault animation or a different set of probabilities for thestate-space of all possible motions for a model.

Such systems can be integrated with a messaging system to automaticallyanalyze message data to apply a model to image data that is part of asystem message. A recipient of such a message can then display the imagewith the pseudorandom motion applied to a model within the message.Audio data detected at the recipient's device can influence thedisplayed animation. For example, an image of a sender's face can besent with a model applied to cause animation of parts of a face in theimage, such as hair, ears, eyebrows, eyes, etc. The animation asdisplayed at the recipient's device will use the probabilities appliedby the designer, and audio at the recipient's device to create theactual animation output at the recipient's device. Other examples canuse three dimensional models applied to images, or overlays applied toan image which manipulate or add augmented reality animations to imagesin a message. Examples of various such embodiments are described indetail below.

FIG. 1 is a block diagram showing an example messaging system 100 forexchanging data (e.g., messages and associated content, including datafor modifying images with animations or creating animations from models)over a network. The messaging system 100 includes multiple clientdevices 102, each of which hosts a number of applications including amessaging client application 104. Each messaging client application 104is communicatively coupled to other instances of the messaging clientapplication 104 and a messaging server system 108 via a network 106(e.g., the Internet).

In accordance with embodiments described herein, client devices 102 canimplement systems for generating pseudorandom animations that aresynchronized to audio data received at the client device 102 using anapplication such as messaging client application 104. Data for thesystems can be managed by animation system 124 of application server112. Part of the management performed by application server 112 can beaccepting data created by a designer for a particular animation as imagemodification data (e.g. overlays, image transformations, LENSES, andsuch to be implemented with model animation within the messaging system,and managing the availability of such image modification data.)

Accordingly, each messaging client application 104 is able tocommunicate and exchange data with another messaging client application104 and with the messaging server system 108 via the network 106. Thedata exchanged between messaging client applications 104, and between amessaging client application 104 and the messaging server system 108,includes functions (e.g., commands to invoke functions) as well aspayload data (e.g., text, audio, video or other multimedia dataincluding image modification data used to implement pseudorandomanimations as described herein).

The messaging server system 108 provides server-side functionality viathe network 106 to a particular messaging client application 104. Whilecertain functions of the messaging system 100 are described herein asbeing performed by either a messaging client application 104 or by themessaging server system 108, it will be appreciated that the location ofcertain functionality either within the messaging client application 104or the messaging server system 108 is a design choice. For example, itmay be technically more resource efficient to initially deploy certaintechnology and functionality within the messaging server system 108, butto later migrate this technology and functionality to the messagingclient application 104 where a client device 102 has sufficientprocessing capacity.

The messaging server system 108 supports various services and operationsthat are provided to the messaging client application 104. Suchoperations include transmitting data to, receiving data from, andprocessing data generated by the messaging client application 104. Insome embodiments, this data includes, message content, client deviceinformation, geolocation information, media annotation and overlays,message content persistence conditions, social network information, andlive event information, as examples. In other embodiments, other data isused. Data exchanges within the messaging system 100 are invoked andcontrolled through functions available via GUIs of the messaging clientapplication 104.

Turning now specifically to the messaging server system 108, anapplication program interface (API) server 110 is coupled to, andprovides a programmatic interface to, an application server 112. Theapplication server 112 is communicatively coupled to a database server118, which facilitates access to a database 120 in which is stored dataassociated with messages processed by the application server 112.

Dealing specifically with the application program interface (API) server110, this server receives and transmits message data (e.g., commands andmessage payloads) between the client device 102 and the applicationserver 112. Specifically, the application program interface (API) server110 provides a set of interfaces routines and protocols) that can becalled or queried by the messaging client application 104 in order toinvoke functionality of the application server 112. The applicationprogram interface (API) server 110 exposes various functions supportedby the application server 112, including account registration, loginfunctionality, the sending of messages, via the application server 112,from a particular messaging client application 104 to another messagingclient application 104, the sending of media files (e.g., images orvideo) from a messaging client application 104 to the messaging serverapplication 114, and for possible access by another messaging clientapplication 104, the setting of a collection of media data (e.g.,story), the retrieval of a list of friends of a user of a client device102, the retrieval of such collections, the retrieval of messages andcontent, the adding and deletion of friends to a social graph, thelocation of friends within a social graph, opening and application event(e.g., relating to the messaging client application 104). In someembodiments, aspects of a system for generating pseudorandom animationsand synchronizing the animations to audio data can be accessed throughsuch an API server 100.

The application server 112 hosts a number of applications andsubsystems, including a messaging server application 114, an imageprocessing system 116, a social network system 122, and an animationsystem 124. The messaging server application 114 implements a number ofmessage processing technologies and functions, particularly related tothe aggregation and other processing of content (e.g., textual andmultimedia content) included in messages received from multipleinstances of the messaging client application 104. As will be describedin further detail, the text and media content from multiple sources maybe aggregated into collections of content (e.g., called stories,galleries, or collections). These collections are then made available,by the messaging server application 114, to the messaging clientapplication 104. Other processor and memory intensive processing of datamay also be performed server-side by the messaging server application114, in view of the hardware resources for such processing.

The application server 112 also includes an image processing system 116that is dedicated to performing various image processing operations,typically with respect to images or video received within the payload ofa message at the messaging server application 114.

The social network system 122 supports various social networkingfunctions and services, and makes these functions and services availableto the messaging server application 114. To this end, the social networksystem 122 maintains and accesses an entity graph within the database120. Examples of functions and services supported by the social networksystem 122 include the identification of other users of the messagingsystem 100 with which a particular user has relationships or is“following,” and also the identification of other entities and interestsof a particular user.

The application server 112 is communicatively coupled to a databaseserver 118, which facilitates access to a database 120 in which isstored data associated with messages processed by the messaging serverapplication 114.

The database 120 also stores image modification data, which can includecomputer models for implementing animations as described herein. In someembodiments, such image modification data can be used to implementLENSES or other such transformations or AR images.

As described above, LENSES, overlays, image transformations, AR imagesand similar terms refer to modifications that may be made to videos orimages. This includes real-time modification which modifies an image asit is captured using a device sensor and then displayed on a screen ofthe device with the modifications. This also includes modifications tostored content, such as video clips in a gallery that may be modified.For example, in a device with access to multiple LENSES, a user can usea single video clip with multiple LENSES to see how the different LENSESwill modify the stored clip. For example, multiple LENSES that applydifferent pseudorandom movement models can be applied to the samecontent by selecting different LENSES for the content. Similarly,real-time video capture may be used with an illustrated modification toshow how video images currently being captured by sensors of a devicewould modify the captured data. Such data may simply be displayed on thescreen and not stored in memory, or the content captured by the devicesensors may be recorded and stored in memory with or without themodifications (or both). In some systems, a preview feature can show howdifferent LENSES will look within different windows in a display at thesame time. This can, for example, enable multiple windows with differentpseudorandom animations to be viewed on a display at the same time.

Data and various systems to use LENSES or other such transform systemsto modify content using this data can thus involve detection of objects(e.g. faces, hands, bodies, cats, dogs, surfaces, objects, etc.),tracking of such objects as they leave, enter, and move around the fieldof view in video frames, and the modification or transformation of suchobjects as they are tracked. In various embodiments, different methodsfor achieving such transformations may be used. For example, someembodiments may involve generating a three-dimensional mesh model of theobject or objects, and using transformations and animated textures ofthe model within the video to achieve the transformation. In otherembodiments, tracking of points on an object may be used to place animage or texture (which may be two dimensional or three dimensional) atthe tracked position. In still further embodiments, neural networkanalysis of video frames may be used to place images, models, ortextures in content images or frames of video). Lens data thus refersboth to the images, models, and textures used to create transformationsin content, as well as to additional modeling and analysis informationneeded to achieve such transformations with object detection, tracking,and placement.

Real time video processing can be performed with any kind of video data,(e.g. video streams, video files, etc.) saved in a memory of acomputerized system of any kind. For example, a user can load videofiles and save them in a memory of a device, or can generate a videostream using sensors of the device. Additionally, any objects can beprocessed using a computer animation model, such as a human's face andparts of a human body, animals, or non-living things such as chairs,cars, or other objects.

In some embodiments, when a particular modification is selected alongwith content to be transformed, elements to be transformed areidentified by the computing device, and then detected and tracked ifthey are present in the frames of the video. The elements of the objectare modified according to the request for modification, thustransforming the frames of the video stream. Transformation of frames ofa video stream can be performed by different methods for different kindsof transformation. For example, for transformations of frames mostlyreferring to changing forms of object's elements characteristic pointsfor each of element of an object are calculated (e.g. using an ActiveShape Model (ASM) or other known methods). Then, a mesh based on thecharacteristic points is generated for each of the at least one elementof the object. This mesh used in the following stage of tracking theelements of the object in the video stream. In the process of tracking,the mentioned mesh for each element is aligned with a position of eachelement. Then, additional points are generated on the mesh. A first setof first points is generated for each element based on a request formodification, and a set of second points is generated for each elementbased on the set of first points and the request for modification. Then,the frames of the video stream can be transformed by modifying theelements of the object on the basis of the sets of first and secondpoints and the mesh. In such method a background of the modified objectcan be changed or distorted as well by tracking and modifying thebackground.

In one or more embodiments, transformations changing some areas of anobject using its elements can be performed by calculating ofcharacteristic points for each element of an object and generating amesh based on the calculated characteristic points. Points are generatedon the mesh, and then various areas based on the points are generated.The elements of the object are then tracked by aligning the area foreach element with a position for each of the at least one element, andproperties of the areas can be modified based on the request formodification, thus transforming the frames of the video stream.Depending on the specific request for modification properties of thementioned areas can be transformed in different ways. Such modificationsmay involve: changing color of areas; removing at least some part ofareas from the frames of the video stream; including one or more newobjects into areas which are based on a request for modification; andmodifying or distorting the elements of an area or object. In variousembodiments, any combination of such modifications or other similarmodifications may be used. For certain models to be animated, somecharacteristic points can be selected as control points to be used indetermining the entire state-space of options for the model animation.

In some embodiments of a computer animation model to transform imagedata using face detection, the face is detected on an image with use ofa specific face detection algorithm (e.g. Viola-Jones). Then, an ActiveShape Model (ASM) algorithm is applied to the face region of an image todetect facial feature reference points.

In other embodiments, other methods and algorithms suitable for facedetection can be used. For example, in some embodiments, features arelocated using a landmark which represents a distinguishable pointpresent in most of the images under consideration. For facial landmarks,for example, the location of the left eye pupil may be used. In aninitial landmark is not identifiable (e.g. if a person has an eyepatch),secondary landmarks may be used. Such landmark identification proceduresmay be used for any such objects. In some embodiments, a set oflandmarks forms a shape. Shapes can be represented as vectors using thecoordinates of the points in the shape. One shape is aligned to anotherwith a similarity transform (allowing translation, scaling, androtation) that minimizes the average Euclidean distance between shapepoints. The mean shape is the mean of the aligned training shapes.

In some embodiments, a search for landmarks from the mean shape alignedto the position and size of the face determined by a global facedetector is started. Such a search then repeats the steps of suggestinga tentative shape by adjusting the locations of shape points by templatematching of the image texture around each point and then conforming thetentative shape to a global shape model until convergence occurs. Insome systems, individual template matches are unreliable and the shapemodel pools the results of the weak template matchers to form a strongeroverall classifier. The entire search is repeated at each level in animage pyramid, from coarse to fine resolution.

Embodiments of a transformation system can capture an image or videostream on a client device and perform complex image manipulationslocally on a client device such as client device 102 while maintaining asuitable user experience, computation time, and power consumption. Thecomplex image manipulations may include size and shape changes, emotiontransfers changing a face from a frown to a smile), state transfers(e.g., aging a subject, reducing apparent age, changing gender), styletransfers, graphical element application, and any other suitable imageor video manipulation implemented by a convolutional neural network thathas been configured to execute efficiently on a client device.

In some example embodiments, a computer animation model to transformimage data can be used by a system where a user may capture an image orvideo stream of the user (e.g., a selfie) using a client device 102having a neural network operating as part of a messaging application 104operating on the client device 102. The transform system operatingwithin the messaging application 104 determines the presence of a facewithin the image or video stream and provides modification iconsassociated with a computer animation model to transform image data, orthe computer animation model can be present as associated with aninterface described herein. The modification icons include changes whichmay be the basis for modifying the user's face within the image or videostream as part of the modification operation. Once a modification iconis selected, the transform system initiates a process to convert theimage of the user to reflect the selected modification icon (e.g.,generate a smiling face on the user). In some embodiments, a modifiedimage or video stream may be presented in a graphical user interfacedisplayed on the mobile client device as soon as the image or videostream is captured and a specified modification is selected. Thetransform system may implement a complex convolutional neural network ona portion of the image or video stream to generate and apply theselected modification. That is, the user may capture the image or videostream and be presented with a modified result in real time or near realtime once a modification icon has been selected. Further, themodification may be persistent while the video stream is being capturedand the selected modification icon remains toggled. Machine taughtneural networks may be used to enable such modifications.

In some embodiments, the graphical user interface, presenting themodification performed by the transform system, may supply the user withadditional interaction options. Such options may be based on theinterface used to initiate the content capture and selection of aparticular computer animation model (e.g. initiation from a contentcreator user interface). In various embodiments, a modification may bepersistent after an initial selection of a modification icon. The usermay toggle the modification on or off by tapping or otherwise selectingthe face being modified by the transformation system. and store it forlater viewing or browse to other areas of the imaging application. Wheremultiple faces are modified by the transformation system, the user maytoggle the modification on or off globally by tapping or selecting asingle face modified and displayed within a graphical user interface. Insome embodiments, individual faces, among a group of multiple faces, maybe individually modified or such modifications may be individuallytoggled by tapping or selecting the individual face or a series ofindividual faces displayed within the graphical user interface.

In various embodiments described herein, any of the modificationsdescribed above can be integrated with systems to generate models, orwith models that have state-space options associated with audio datamatching (e.g. speed harmonic values for setting animation speeds inconjunction with tempo values from detected audio data). In otherembodiments, such modifications included with LENSES or any other suchoverlays changes to content can be integrated in various different wayswith the systems for pseudorandom animation described herein.

FIG. 2 is block diagram illustrating further details regarding themessaging system 100, according to example embodiments. Specifically,the messaging system 100 is shown to comprise the messaging clientapplication 104 and the application server 112, which in turn embody anumber of some subsystems, namely an ephemeral timer system 202, acollection management system 204 and an annotation system 206.

Annotation system 206 includes animation system 207 that can be used toimplement some or all aspects of a system for pseudorandom animation asdescribed herein as part of a messaging client application 104 on aclient device 102. In other embodiments, such a system can be split withdifferent portions operating on client device 102 and a server system.

Content system 204 can be used to store content (e.g. images and video)that can be used to animation models to generate pseudorandom animationsas described herein. In some systems, such content can be real timecontent (e.g. for AR content) or stored (e.g. for gallery previouslycaptured content). If a user is generating a message, managementinterface 208 can be used to select previously configured modificationinformation (e.g. an image transformation or AR modification) forinclusion in a message. If a user is designing modification information(e.g. by selecting animation probabilities, designing an animationmodel, or selecting other such options such as when creating LENSES, ARmodifications or other such overlays or image and video transformations)management interface 208 can be used for such systems in a designerdevice.

The ephemeral timer system 202 is responsible for enforcing thetemporary access to content permitted by the messaging clientapplication 104 and the messaging server application 114. To this end,the ephemeral timer system 202 incorporates a number of timers that,based on duration and display parameters associated with a message,collection of messages, or graphical element, selectively display andenable access to messages and associated content via the messagingclient application 104. This can, in some embodiments, limit access to aparticular configuration of a pseudorandom animation as describedherein.

The collection management system 204 is responsible for managingcollections of media (e.g., a media collection that includes collectionsof text, image video and audio data). In some examples, a collection ofcontent (e.g., messages, including images, video, text and audio) may beorganized into an “event gallery” or an “event story.” Such a collectionmay be made available for a specified time period, such as the durationof an event to which the content relates. For example, content relatingto a music concert may be made available as a “story” for the durationof that music concert. The collection management system 204 may also beresponsible for publishing an icon that provides notification of theexistence of a particular collection to the user interface of themessaging client application 104.

In some embodiments, a management interface 208 of a collectionmanagement system 204 furthermore includes interface options that allowsa collection manager to manage and curate a particular collection ofcontent. For example, the management interface 208 enables an eventorganizer to curate a collection of content relating to a specific event(e.g., delete inappropriate content or redundant messages) in suchsystems. Additionally, the collection management system 204 can employmachine vision (or image recognition technology) and content rules toautomatically curate a content collection. In certain embodiments,compensation may be paid to a user for inclusion of user generatedcontent (e.g. a particular model with associated pseudorandom animationelements) into a collection. In such cases, the management interface 208operates to automatically make payments to such users for the use oftheir content.

FIG. 3 is a block diagram illustrating components of the messagingsystem 100 which enable the system to perform operations that includecommunicating content modified with systems for pseudorandom animationand associated modification data between accounts. The animation system124 is shown as including a presentation module 302, a user profilemodule 304, a media module 306, and a communication module 308, allconfigured to communicate with each other (e.g., via a bus, sharedmemory, or a switch). Any one or more of these modules may beimplemented using one or more processors 310 (e.g., by configuring suchone or more processors 310 to perform functions described for thatmodule) and hence may include one or more of the processors 310. Whilethese modules are described in the context of an animation system toenable pseudorandom animation in a messaging system, such elements maybe integrated with larger profile and data management systems withinvarious embodiments.

Any one or more of the modules described may be implemented usinghardware alone (e.g., one or more of the processors 310 of a machine) ora combination of hardware and software. For example, any moduledescribed of the animation system 124 may physically include anarrangement of one or more of the processors 310 (e.g., a subset of oramong the one or more processors of the machine) configured to performthe operations described herein for that module. As another example, anymodule of the animation system 124 may include software, hardware, orboth, that configure an arrangement of one or more processors 310 (e.g.,among the one or more processors of the machine) to perform theoperations described herein for that module. Accordingly, differentmodules of the animation system 124 may include and configure differentarrangements of such processors 310 or a single arrangement of suchprocessors 310 at different points in time. Moreover, any two or moremodules of the animation system 124 may be combined into a singlemodule, and the functions described herein for a single module may besubdivided among multiple modules. Furthermore, according to variousexample embodiments, modules described herein as being implementedwithin a single machine, database 120, or device may be distributedacross multiple machines, databases 120, or devices.

The various modules within an animation system 124 or other managementsystems of a messaging system 100 such as the system using messagingserver system 108 may operate in a variety of ways to improve deviceperformance by managing system communications and interfaces asdescribed herein. The state-space structures as part of pseudorandomanimation enable processing and memory resources to produce complexanimations more efficiently than other systems that simply predeterminesuch complex animations or use other resource intensive options togenerate such animations. In some systems in accordance with theembodiments described herein, the use of structures for pseudorandomanimation is both outside of the standard structure for a messagingsystem 100, and a driver of system use, and so systems that improveperformance by reducing interface operations, particularly for creatoraccounts, while also providing increased creator control and options forcreator attribution improve the overall system performance. The variousmodules and systems described above and below thus enable systems toimplement complex pseudorandom animations in a message system withresource constrained user devices that implement the animations

FIGS. 4A-4E then illustrate aspects of a system for displaying apseudorandom animation. As described above and illustrated in FIG. 4A, auser's client device 102 can be used to display images such as image 410in a display 402 of client device 102. When an embodiment forpseudorandom animation is configured on a client device 102, a computeranimation model is applied to the image data to enable the pseudorandomanimation.

FIG. 4B illustrates aspects of one potential computer animation model,that takes image data and fragments the data into multiple frames, withan animation applied to intersections of the frames. FIG. 4B includesanimation area 420 in display 402 of client device 102. The animationarea includes three frame animation areas 422, 424, and 426, withboundaries 428. These three frames are part of the computer animationmodel that is used with image 410 data to generate a pseudorandomanimation using the computer animation model and image 410. The computeranimation model includes a control point 427 that can have a motionpattern and a motion speed applied to create a pseudorandom animationwith image 410.

FIG. 4C then further illustrates this animation. As illustrated in FIG.4C, portions of image 410 are placed in frames 422, 424, and 426. Ascontrol point 427 is moved, the frame boundaries are configured tofollow the movement of control point 427. For example, as control pointmoves up and down, the boundaries 428 can move within display area 420while maintaining a relative position to control point 427 and clippingthe edges at the intersection with display area 420. The portions ofimage 410 within each frame 422, 424, 426 can either be configured tomatch the movement of control point 427, or to stay stationary andadjust the displayed portion of the image within each frame. Limitationson movement of control point 427 to generate the pseudorandom animationare discussed in more detail below.

While FIGS. 4B and 4C illustrate a geometric overlay computer animationmodel with a single control point, FIGS. 4D and 4E illustrate an imagemodification computer animation model. In FIG. 4D, a computer animationmodel identifies eyebrow areas 450 and 451 within image 410, as well asa range of motion 452 and 453 for each eyebrow area 450, 451. When thepseudorandom animation is implemented, the image 410 is displayed withthe eyebrow areas 450, 451 modified to generate an animation on display402 within display area 420. During the video output of the animation,the eyebrow areas are treated as control points in the computer model,and can be moved as shown by movements 460, 461 of FIG. 4E which areeach associated with control points of a computer animation model.

FIGS. 4A-E thus illustrate examples of applying a computer animationmodel to image data in accordance with embodiments described herein. InFIGS. 4B and 4C, the visible output of the model is the geometric shapewhich adjusts the boundaries 428 around the frames using control point427. In FIGS. 4D and 4E, the visible output of the model is the movementof eyebrow images as part of a motion image, with the eyebrow areas usedas control point. While these two examples illustrate computer animationmodels in accordance with embodiments described herein, it will beapparent that many other examples are possible. For example, any portionof a face or a body can be selected as a control point and animated. Insome embodiments, an entire body can be animated. In one example, afully body image can be used to generate a two-dimensional “puppet” fromthe image, with interconnected parts having control points withmovements limited by the connections between the parts, and movementsfor each control point set as described below. Further, other objectsbesides faces and bodies can be animated. An image of a tree can beanalyzed to identify control points within the trunk and at branches,and used to animate movement of the tree. An image of a chair cansimilarly be animated using control points.

Further still, in addition to animating objects within an image asillustrated by FIGS. 4D and 4E, any type of overlay can be animated. Forexample, while FIGS. 4B and 4C show a frame boundary animation, in someembodiments, any type of overlay can be used as a computer animationmodel. For example, a computer model for fireworks can be structured asa simple overlay, with areas for display of fireworks selected within adisplay area 410 of a display 402. The control points can either beconsidered fixed areas within a display area 410, or can be assignedindependently to animations as they are presented within a display area410. The display speed and motion of the animations can then becontrolled for pseudorandom animation within the defined areas of thecomputer animation model for the fireworks as set by a designer of theparticular model.

It will therefore be apparent that a designer of such animation canselect control points in a wide variety of models in order to apply thepseudorandom animations described herein to generate a wide variety oftypes of video animations. As described above, such animations can begenerated using a management interface (e.g. a computer animation modeldesigner tool) or any such applications as part of generating models foruse with pseudorandom animations in a messaging system or in any systemas described herein.

FIGS. 5A and 5B then illustrate aspects of audio data that can be usedfor aspects of the pseudorandom animation described herein. FIGS. 5A and5B illustrate aspects of audio data 500 which can be used with a systemfor generating and displaying animations in accordance with someembodiments. The audio data 500 of shows an amplitude over time for aparticular set of audio inputs. While audio data 500 is illustrated astime based amplitude information, such information can be received at aclient device 102 and analyzed for various audio characteristics. Asshown in FIG. 5B the particular audio data 500 can be analyzed for audiocharacteristics including identification of a tempo 504 from beats 502,and a harmonic 514 that can be associated with other pattern data 512within the audio data. The audio stream can be from a microphone of theclient device 102, or can be from a file or other memory of the device.The tempo of audio data is a basic audio characteristic that can beidentified as part of a set of audio data from analyzing a stream ofaudio data at a device such as a client device 102. In addition toidentifying beats within the audio data and a tempo associated with aportion of the audio data (e.g. beats per time period for a section ofthe audio data), other audio characteristics can be identified. Suchaudio characteristics can include, but are not limited to melodyanalysis, harmony analysis, frequency content of the music, consistencyof beats, varying “voices” or expected contributors to the audio, orother direct details of the sounds, frequencies, and changes within theaudio data. Additionally, indirect characteristics of the audio data canbe assigned audio characteristics, such as an “energy” of the audiodata, a “danceability” of the audio data, changes and transitions in anyidentified characteristic, pauses or transitions between repeated audiocharacteristics, matches to known or audio patterns, or any suchcharacteristics. As a device analyses a stream of audio data, values canbe assigned to any such characteristics, and the values can be updatedover time as the audio stream continues. For example, an audio streamcan simply contain voices, and be assigned a tempo value of 0. As apiece of music is played, analysis of the audio data stream can identifythat a repeated beat is detected, and adjust the tempo value to matchthe detected beat repetitions within the audio stream. As additionalcharacteristics or changes in characteristics of the audio data areidentified by device processors, values for those characteristics can beassigned or updated.

FIG. 6A illustrates aspects of motion patterns 600 that can be used aspart of an animation state-space in accordance with some embodiments. InFIG. 6A, six example motion patterns 610, 612, 614, 616, 618, and 620are illustrated. Each motion pattern is shown in a movement space 602for an example control point. For example, if motion pattern 618 isselected, the control point that motion pattern 618 is selected for willmove in a circular pattern as shown. If motion pattern 616 is selected,the control point will move back and forth linearly in a singledirection as shown. Motion patterns 610-618 are intended to show simplemotion patterns along a fixed path. Other motion patterns with morecomplex characteristics are also possible. For example, with motionpattern 620, a particular path is not described, but motions arepossible anywhere within the circular shape, but prohibited outside thecircular shape in areas that are still possible within the constraintsof the acceptable motions for the control point defined by movementspace 602.

The use of selected motion patterns 620 within the movement space 602 ofall possible motions allows for an organized configuration of selectedmovements to be matched to audio data, as well as suppression ofspecific unwanted movements. Simple motion pattern templates can becreated and managed in large numbers while still allowing a designer todesign a pseudorandom animation from a large state-space withoutoverwhelming the designer with selection options or exceeding thecapabilities of processing resources. Depending on the actual processingresources available or anticipated by a designer, the state-space sizecan be adjusted easily be limiting the number of motion patternsassociated with a particular computer model or implementation of acomputer model. For example, a template system can have access to anynumber of motion patterns, or a designer can create any number of motionpatterns (e.g. thousands, tens of thousands, etc.). When implementing aparticular computer animation model, the data for motion patterns can befiltered so that only data associated with selected (e.g. non-zeroprobability motion patterns) are included for communication as part of aparticular communication. In simpler systems with limited numbers ofmotion patterns, data for all motion patterns can be communicated,including data for motion patterns set with a zero probability in orderto simplify and standardize communications for certain types ofanimations.

In accordance with embodiments described herein, then, a computeranimation model will have a motion state-space that is based on a numberof control points in the model, a number of motion patterns availablefor each control point, and a number of animation speeds available foreach model at each control point.

For example, if motion patterns 600 are all possible motion patterns forcontrol point 427 with equal probability assigned to each motionpattern, then when an animation is generated, the associated computermodel will be used to generate an output video with the boundaries 428moving in conjunction with control point 427 with the motion from motionpatterns 600 assigned to control point 427 at a given time. The motionassigned for a given time can change based on the probability assignedfor a given motion state and a motion pattern of a particular motionstate. FIG. 6B illustrates this, as over time, the motion states 661,663, 665, 667, and 669 for a computer animation model 650 change as thecomputer animation model is used to generate an output video animationsynchronized to audio data 670.

As described herein, an animation is assigned a motion state for a giventime or time period. The motion state is selected from the state-spaceof all possible motion states for the computer animation model.Different computer animation models can have different frameworks (e.g.combinations of variables or data structures) for the associatedstate-space of the model. In one example embodiment, an animationframework associated with a computer animation model comprises A controlpoints (e.g. control point 527 or control points associated with eyebrowareas 450, 451), B motion patterns (e.g. motion patterns 610-620), and Ctempo harmonics (e.g. harmonic multiples of tempo 504 determined frombeats 502) such that a number of motion states N for the computeranimation model within the animation framework is:

N=(B×C)^(A)  (1)

Further, as part of the framework, each of the N motion states M areassigned a probability, such that a probability mass function P( ) ofthe probability values assigned to said each motion state is:

P(M ₁ ,M ₂ ,M ₃ . . . M _(N-1) ,M _(N))  (2)

When the computer animation model having values assigned to each elementof the state-space, the particular motion state used at any given timeis selected based on the probability for each motion state.

In one simple example using the figures above, a framework for acomputer animation model can have two control points (e.g. the model ofFIGS. 4D and 4E) and six motion patterns (e.g. motion patterns 610, 612,614, 616, 618, and 620). Additionally, the template can have fourharmonic speeds (e.g. 1X, 0.5X, 2X, and 4X). Each harmonic speed is amultiple of a tempo that is determined by audio data that is used inconjunction with an output animation generated using a computeranimation model. In this example, the state-space for the computeranimation model includes 576 motion states (e.g. (6×4)² motion states).Each motion state can have a different assigned probability value, sothat certain motion states occur more frequently than other motionstates. For example, a motion state for the above model in which bothcontrol points (e.g. eyebrow areas) use motion pattern 616 at a tempoharmonic equal to the tempo of the music can be set to occur 95% of thetime, with the remaining motion states assigned equal probabilities ofoccurring during the other 5% of the time. The transitions betweenmotion states (e.g. a selection or reselection of a motion state) canoccur at fixed periods, or randomly. In other embodiments, any possibletriggers or periods for transitioning between motion states can be used,including identifying thresholds or transitions in audio characteristicsas described below.

As described above, various audio characteristics can be determined fromaudio data. In one example, an audio energy value or a “danceability”value is determined for a segment of audio data, and this can be used asa threshold to determine whether to generate a pseudorandom animationmatched to the audio data. Audio data 680 of FIG. 6C, for example, canbe determined to have a tempo similar to a tempo of audio data 670 ofFIG. 6B. However, the additional details (e.g. frequency content, beatstrength, beat consistency, etc.) can be used to determine additionalcharacteristics, that can be specific to a framework or particularcomputer animation model and definable by a designer. In the example ofFIG. 6C, audio data 680 does not meet a threshold for animation duringtime periods associated with no motion states 671 and 675, but meets thethreshold criteria for motion during the time period for motion states673 and 679. As described above, motion state 673 and motion state 679can be selected randomly from the state-space for the computer animationmodel being executed based on the assigned probability for all motionstates, including selected motion state 673 and selected motion state679 during the time periods when those motion states are used togenerate a video animation. In some embodiments, during no motion state671, the computer animation model is frozen, and does not move at all inthe video frame. In other embodiments, a default or “waiting” animationcan be used, that transitions to a selected motion state when an audiodata threshold is met. Such embodiments may use a transition animationbetween such states, or can move directly between the states. Similarly,in various embodiments described herein, the randomly selected motionstates can have transition animations used as the computer modeltransitions between the motion states, or can simply animate movementsbased on a current motion state as new motion states are selected.

FIG. 7A illustrates aspects of a computer model that can be used as partof a system for generating and displaying animations in accordance withsome embodiments. In the example details discussed above of computeranimation models in FIG. 4, two dimensional computer animation modelsare described. While complex models are possible in two dimensions asdescribed above (e.g. two dimensional puppets of persons or objects,multi-transition models such as a firework model with firework motionobjects appearing and disappearing, etc.), some embodiments use threedimensional computer animation models.

FIG. 7A illustrates a simple computer animation model 700 having threehones 730, 720, and 710, a skin 710 around the hones, joints orconnection points 701, 702, 703, and 704. Each bone 710, 720, 730 has acontrol point, which can be a connection point or any other such pointdirectly on the bone. In one embodiments, connection point 701 isstationary, connection point 702 is a control point for bone 710,connection point 703 is a control point for bone 720, and connectionpoint 704 is a control point for bone 730. Relative movements of theskin in areas 711, 721, and 722 are primarily, but not exclusively,impacted modified by motion patterns associated with single controlpoints, such that first area 711 is primarily impacted by joint 702,second area 721 is primarily impacted by joint 703, and third area 722is primarily impacted by joint 704, with the joints directed to follow amotion pattern defined within the state-space for the computer animationmodel 700. Aspects of this impact on the skin 701 are illustrated inFIG. 79 by skins 710A, 7108, and 710C.

FIG. 7C illustrates aspects of motion patterns 780 that can be used aspart of an animation state-space in accordance with some embodiments,and FIG. 7D illustrates aspects of a computer model that can be used aspart of a system for generating and displaying animations in accordancewith some embodiments. FIG. 7D illustrates a bone 760 having joints 750and 770. In FIG. 7D, joint 750 is a reference point for bone 760, andjoint 770 is a control point, with motion patterns for control point 770defined in a spherical surface 774 around joint 770 having a maximumrange of motion 772 illustrated as range 772A and 772B.

Within a framework of a computer animation model control point 770 hasmotion patterns such as motion patterns 780 which are defined by motionsof joint 770 along surface 774 within range of motion 772 with joint 750as a fixed reference point for the particular motion pattern. In thecomputer animation model 700 of FIGS. 7A and 7B, each bone can have thesame or different associated motion patterns and ranges of motion. Forexample, joint 701 can be a reference point for bone 710, joint 702 canbe a reference point for bone 720, and joint 703 can be a referencepoint for bone 730. Skins 710A, 710B, and 710C illustrate an impact onthe skin for corresponding control point motion relative to thereference point for the control point. For example, skin 710C shows theimpact of joint 704 moving when joint 703 is stationary, skin 710B showsthe impact of joint 703 moving when joint 702 is stationary, and skin701A shows the impact of joint 702 movement relative to joint 701.

FIG. 7C illustrates the patterns traced by the control point relative toa plane which is perpendicular to the line created by extending the linethrough the reference point. Each pattern 780 for joint 703, then, canbe considered a projection onto a plane that is perpendicular to theline extending from bone 720 through the point having joint 703. In auser interface where a designer is assigning probabilities to differentmotion states, a screen interface can display such projections and allowthem to be selected and/or to have an associated input with aprobability value assigned. Such an interface can enable a designer tocreate a pattern which will automatically be translated from the twodimensional projection of the interface into the motion patternassociated with the control point, with an assigned set of othervariables harmonic speed, phase relationship with the beat determiningan offset in a repeated motion pattern, etc.).

In a computer animation model, each control point (e.g. an thereforeeach bone) can have independently assigned motion patterns, each havinga separate probability. FIG. 7E illustrates aspects of a system forgenerating and displaying animations in accordance with someembodiments. In FIG. 7E, audio data 775 is received at a deviceimplementing an output video animation using computer animation model700. The animated model 799 transitions through motion states 731-735,with each motion state of motion states 731-735 made up of independentcombinations of motions, speeds, and any other such assignedcharacteristics from a template. Each of the control points in the modelcan move independently, with first area 711 moving through motions775-778 based on joint 702 moving in different patterns as described bythe control point movement pattern for a selected state. Similarly,second area 721 uses different motions 781-783 and third area 722 usesmotions 791-795. This can result in a wide variety of complex motionswhich occur in a pseudo random fashion synchronized to a beat.

For example, if the motion patterns for joints 702, 703, and 704 are setwith all side to side motions synchronized together with a harmonicspeed equal to the tempo of the audio data, the skin 710 will wave sideto side with the beat. If joint 702 and 703 are set with the same sideto side motion but half a repetition apart, with joint 704 a circle, thelower part of skin 710 will wiggle back and forth without swaying, andthe top of the skin 710 will move in a circle. Because these movementsare synchronized to harmonics of the audio data tempo, certainanimations can give an impression of “dancing” or complex changingmotion that is synchronized to the tempo in complex pseudorandompatterns.

Computer animation models can extend this template with bones havingcontrol points and reference points with associated motion patterns incomplex ways. Computer animation model 800 illustrates a model withbones 821, 831, 841, 851, and 861, and joints 710, 820, 830, 840, 850,and 860. Just as with computer animation model 700, each bone can have acontrol point which can be set with motion patterns relative to areference point on the same bone. For example, joint 860 can be acontrol point and joint 850 a reference point for bone 861. In order tosimplify overall design of a computer animation model, the computeranimation model can have one or more global or parent reference points.For example, joint 810 can be defined as a parent reference point, suchthat it operates as a reference point for at least one control point,but does not operate as a control point. A computer animation model canhave multiple parent references points, such as if bone 831 is designedto be fixed with no movement, such that joints 830 and 820 can be parentreference points with joints 810, 840, 850 and 860 control points.

In some systems, rather than having every control point havingindependently assigned motions, inverse kinematics can be used to definemotions for multiple control points as part of a single motion state.For example, one motion state for computer animation model 800 can usemotion patterns for each joint other than joint 810 when joint 810 isoperating as a parent reference point. A second motion state can have amotion pattern for joint 840 determined relative to joint 810, with themotions of joints 830 and 820 determined automatically in order toachieve the selected motion of joint 840. In such an embodiment, joints850 and 860 can be determined using the previously discussed motionpatterns while joint 840 has a motion determined relative to joint 810.

Thus, certain motion states can have one or more kinematic chains ofbones, with the motion of a control point at the end of the kinematicchain selected as part of the motion state, and the control pointswithin the kinematic chain determined automatically. During design of ananimation, the limitations on the kinematic chain can be presented to adesigner as part of an interface, with an option to create motionpatterns within the limits of the range of motion for the chain.Alternatively, particular motions of a kinematic chain can be presented,with a designer selecting between possible motions. As described above,certain frameworks can include sets of motion patterns, with a designersimply assigning probabilities to preferred motions. This can functionfor both simple animations of a single bone that is part of a chain froma parent reference point through multiple bones with a control endpoint,as well as for inverse kinematic chains. Further, a state-space caninclude both states with motion patterns for each individual controlpoint, motion patterns for kinematic chains, or both in the samestate-space for a computer animation model.

FIGS. 9A-C then illustrate aspects of a computer model that can be usedas part of a system for generating and displaying animations inaccordance with some embodiments. Computer animation model 900 of FIG.9A uses a skin 902 of a penguin that is configured to be animated usinga pseudorandom computer animation model as described herein. FIG. 9Billustrates an internal structure 910 of the computer animation model900, with bones 940-952. FIG. 9C illustrates an overlay 911 of structure910 within skin 902 to illustrate how computer animation model 900 cangenerate a complex pseudo random animation in accordance withembodiments described herein.

As described above, a computer animation model can include instructionsfor generating an output video animation that is configured to animatecontrol points of the model to present pseudorandom motion that issynchronized to audio data. In the example of FIG. 9C, a skeletal modelhaving structure 910 includes bones 940-952. A framework for a computeranimation model including data about bones 940-952 along with motionlimitations for each bone, influence of each bone on the skin 902, alongwith any other such information that defines the possible options for acomputer animation model. A designer can take the limitations providedby such a framework, including a default state-space of providedmovement patterns for the bones, speed harmonics, and other suchinformation, and can modify this information to generate a computeranimation model that can be distributed via a network and implemented ona device to create an output video. Designer options can includecreation of new motion patterns, selection of probabilities for motionstates including specific motion patterns and speed harmonics,synchronization relationships for patterns between bones, selection ofthresholds for different animation options or probabilities, or othersuch information for a specific implementation of a model that can bedistributed via a messaging system.

For example, in some embodiments, bones 942 and 944 can have a range ofmotion that enables animation of the arm flippers in circles or abovethe head of the penguin model. A designer can select motions of bones944 and 942 that limit the actual motions in a particular state-space toa simple flapping motion that is only a few degrees of range of motion,and with limited forward and backward movement of the hones relative tothe plane of the body (e.g. a plane between the eyes and toes or anothersuch plane separating the front and back of the model's skin).Similarly, motions for bones 951 and 952 can be limited to simple up anddown “foot tapping” motions that are configured to match a beat or aharmonic of a detected tempo from audio data, even though the frameworkcan enable more complex foot movement. Any such limitations can beselected as part of a user interface for selecting probabilities and/orstate-space elements for a particular model. Additionally, as describedabove, in addition to the state-space for model 900 including motionpatterns for individual bones, certain embodiments of such a state-spacecan include inverse kinematic motion patterns for certain controlpoints. For example, one inverse kinematic motion pattern can enable thebone 940 to move in a circular pattern while maintaining the endpointsof bone 940 perpendicular to a ground plane, such that a head portion ofskin 902 circles without tilting. Such a state-space element can includeautomatic motions for bone 940, 930, and 920 while having independentmotions for bones 951, 952 (e.g. foot tapping) 942, and 944 (e.g.flipper waving).

A designer can access design tools of a system (e.g. design toolsmanagement interface 208 of application 104 or other such tools) toeither create a computer animation model from the ground up (e.g. bycreating a model in the system) or by modifying a framework that is madeavailable to the designer. In some embodiments, this can involve adesign user interface. As described above, such a user interface caninclude one or more windows for illustrating animations for a particularstate-space, such that multiple animations for multiple different motionstates of the computer animation model state-space are displayed on ascreen at the same time in different windows, with probabilities and/orother design options for each state-space having input interfaces. Sucha design interface can include options for selecting elements such asdifferent skins, modifications to bones of a model or control points ofa model, options to generate motion patterns for addition to astate-space, or other such options.

In some embodiments, different computer animation models can bedisplayed in such an interface as tiles that describe a particularcomputer animation model. In addition to including computer animationdetails, such a display can include additional elements, such asinclusion of the animation as part of an augmented reality image, or aspart of an overlay or modification to stored data. Such a display canthus show a single stored video clip in multiple windows of a displaywith different animations from one or more computer animation modelsincluded in each window.

In some embodiments, tools for filtering motion states or selectinggroups of motion states can be present. For example, an interface canallow all motion states at a harmonic less than the tempo to be set tozero (e.g. all speed harmonics less than 1×). Some inputs can allow allmotions of certain control points to be suppressed. Some inputs can beused to characterize certain motion patterns, such as a motion thatcreates an animation velocity above a certain speed, or acceleration orjerk motion values above provided thresholds. For motion patterns thatare not strictly defined, but simply create random motion within a range(e.g. motion pattern 620), limits can be provided for the motions withinthe range, such as number of momentum changes per unit time, maximumvelocity, or other such characteristics of the motion. In someembodiments, energy-based motion activation can be used for portions ofa skeleton or two-dimensional model. For example, in one embodiment, akinetic energy of a model can be defined by:

KE=Σ _(j∈joints)½I _(j)ω_(j) ²;  (3)

where KE is the corresponding model motion energy for a particular setof motion data values of the set of values, j is a summation value usedto iterate over the number of joints of the plurality of animationelements. In such a model:

I _(j)=Σ_(k∈child)½w(k)r _(jk) ²: Moment of Inertia  (4)

where w( ) is the angular velocity at a joint summed for a given valueof j, k is the iteration value for a number of child joints attached toa parent joint within the computer model, r is the radius of each jointfrom an energy reference point (e.g. a parent or global reference pointfor a particular motion state), and where the angular velocity isdetermined individually for each motion pattern and each speed harmonicof the plurality of motion patterns and the plurality of speedharmonics.

In such a system, each motion state can have assigned energy values. Ifa state includes randomness within the motion (e.g. motion pattern 620),an average and maximum kinetic energy can be determined based on therandomness allowed. This information can then be used in a variety ofways. In some embodiments, minimum and maximum energy values can beselected by a designer, and all motion states of the state-space for amodel outside these thresholds can be suppressed (e.g. set to a zeroprobability). In some embodiments, different energy states can bematched to different characteristics of audio data. For example, on setof energy thresholds can be used to set a state-space that is used for afirst set of audio characteristics, and a second set of energythresholds can be used to set a state-space for different audiocharacteristics. Similarly, an “energy” value based on frequencycontent, beats, or other such audio analysis can be used to matchhigh-energy audio data to particular kinetic energy range state-spaces.

The use of different state-spaces under different circumstances enables,for example, different state-spaces to be used for different ranges ofmusical tempo. For example, when no music is detected, a firststate-space for a model can be used, when a tempo less than a firstthreshold value is detected, a second state-space can be used, and whena tempo above the first threshold is detected, a third state-space canbe used. This allows for additional synchronization of the pseudorandomanimation to different circumstances, and to customize motions (e.g.“dance” moves or combinations of motions from a particular state-space)to be customized to different audio data within a single implementationof a computer animation model being executed on a device.

Once a designer has finalized the configurable options for a computeranimation model, the data for the finalized model can be made availablethrough a messaging server system 108 or a messaging client application104. In some embodiments, a user of a messaging client application 104can access the model data, and include the model data in a message sentto another client device via messaging server system 108. When thereceiving client device 102 plays the message, the model is implementedon the receiving client device 102 via messaging client application 104to generate a video display. If no audio is detected, or if a thresholdaudio characteristic is not present, the receiving device 102 can simplydisplay the skin or other aspect of the computer animation model in adisplay with a default animation or with no animation. If audio data ispresent, the receiving client device analyzes the audio data for audiocharacteristics such as a tempo value, and then uses the tempo valuewith motion states of the computer animation model to begin a videoanimation. An initial motion state is selected randomly from thepossible motion states based on the probabilities for each motion statewithin the data received at the receiving client device. As long as theaudio data is present and the receiving client device 102 is configuredto continue the video animation, the computer animation model data willtransition randomly between the motion states of the state-space for themodel. The animation will end when the audio data ends or when theoutput animation is halted by a user input. In other embodiments, otheroptions can halt an animation, such as an animation time, an ephemeraltimer for a message that includes the data for the pseudorandomanimation, or other such options. If the animation is part of anephemeral message, after the message is presented with the pseudorandomanimation and a deletion trigger is met, the model data is deleted fromthe receiving client device 102, so that additional animations using theparticular computer animation model are not possible unless the model isretrieved independently or otherwise made available outside of theephemeral message.

As described above, some embodiments can use different thresholds forstarting dance animations as part of a pseudorandom animation model.Some models can require a certain beat strength or consistency. Certainmodels can have a trigger, such as an audio password to begin theanimation. Certain models can be configured to animate only when audiodata with a tempo between a certain threshold (e.g. between 30 beats perminute and 120 beats per minute) are present.

FIG. 10 illustrates an example method 1000 in accordance with someembodiments described herein. FIG. 10 is a flowchart illustrating amethod for managing a state-space for a pseudo random computer animationmodel, according to certain example embodiments. Method 1000 may involveoperations at a client device 102 in conjunction with operations of amessaging server system 108. In some embodiments, method 1000 isembodied in computer-readable instructions stored in a non-transitorystorage of a client device 102 that performs method 1000 when theinstructions are executed by processing circuitry of the client device102.

Method 1000 begins with operation 1002 accessing, using one or moreprocessors, a computer animation model, the computer animation modelcomprising one or more control points. In various embodiments, thisoperation can be performed by a mobile device, a design computer, or anyother such device. The method then proceeds with operation 1004 ofassociating, by the one or more processors, a plurality of motionpatterns with a first control point of the one or more control points.During creation of a computer animation model from a basic designwithout a framework, this can involve selection or creation of motionpatterns. If the computer animation implementation is being generatedfrom a framework, this can involve selecting motion patterns from a setof standard motion patterns or adjusting motion patterns previouslyassigned to the computer animation model. Then one or more speedharmonics are associated with the first control point in operation 1006.As detailed above, this does not set a specific animation speed for amotion pattern, but sets a speed that will be determined later asreferenced to a tempo of audio data used in conjunction with generationof the actual display of a pseudo random animation on a screen using theset of motion states defined by method 1000.

Following selection of the speed harmonics and the motion patterns forthe control points to define the elements of the computer animationmodel state-space, operation 1008 then involves generating a set ofmotion states for the computer animation model (e.g. the set of motionstates defined by the elements of the state-space defined above), theset of motion states comprising a motion state for each combination ofmotion patterns and speed harmonics of the plurality of motion patternsand the one or more speed harmonics. In other embodiments, additionalelements, such as a synchronization (e.g. phase) for display ofparticular motion patterns relative to a beat or audio data reference,threshold values to enable different state-space motion states fordifferent audio environments, or other such elements can be part of theset of motion states. Once the set of motion states are defined (e.g.the selected states of the state-space for the model), operation 1010involves assigning a probability value to each motion state of the setof motion states, wherein an associated probability value for anassociated motion state of the first control point is associated with afirst probability that a displayed animation of the computer animationmodel will implement the associated motion state for the first controlpoint.

Some such embodiments can involve generating an output video comprisingthe displayed animation of the computer animation model with motion ofthe computer animation model generated randomly using the probabilityvalue for each motion state of the plurality of motion states. Someembodiments involve receiving a set of user inputs selecting theplurality of motion patterns for the first control point from the motionpatterns and the one or more speed harmonics from the tempo harmonicsand automatically assigning the corresponding probability for eachmotion state of a subset of motion states not associated with theplurality of motion patterns to zero. Some such embodiments function byautomatically assigning the corresponding probability for each motionstate of a second subset of motion states associated with the set ofuser inputs to equal probability values. Other embodiments operate wherethe set of user inputs further select probability values for motionstates associated with the plurality of motion patterns and the one ormore speed harmonics.

As described above, in some embodiments, a computer animation modelcomprises a skeleton and a skin, with the skeleton made up of aplurality of bones connected via one or more joints, with each bonecomprising a control point, and with the first control point at s afirst position on a first bone of the plurality of bones. The first bonecan be a child bone connected to a reference point via one or moreconnected bones within the skeleton. The first motion pattern of theplurality of motion patterns can be an inverse kinematic motion pattern,whereby the first motion pattern is determined relative to the referencepoint with motions of the one or more connected bones within theskeleton determined to maintain connections with the one or moreconnected bones while achieving the first motion pattern for the firstposition on the first bone, and with motions of the one or moreconnected bones determined automatically. In some such embodiments, theset of user inputs selecting the plurality of motion patterns select theplurality of motion patterns as inverse kinematic motion patternspresented on a user interface display as two dimensional patternsprojected into a user selected plane.

Alternatively, a first motion pattern of the plurality of motionpatterns can be a forward kinematic motion pattern, whereby the firstmotion pattern is determined relative to a connection point with asecond bone of the one or more connected bones, and without referencesto the reference point.

Various such embodiments can operate where the second bone is associatedwith a second plurality of motion states and second one or more speedharmonics and the set of motion states further comprises comprisingmotion states for each combination of motion patterns and speedharmonics of the first bone and the second bone. Similarly, someembodiments can operate where the set of user inputs selecting theplurality of motion patterns select the plurality of motion patterns asfrom the motion patterns on a user interface display as two dimensionalpatterns illustrating motion patterns for a bone revolving around ajoint. Other embodiments can operate with a user interface for selectingor creating motion patterns and assigning motion patterns to astate-space in any manner described herein.

FIG. 11 illustrates an example method 1100 in accordance with someembodiments described herein. FIG. 11 is a flowchart illustrating amethod for generating and displaying an animation using a pseudo randomcomputer animation model, according to certain example embodiments.Method 1100 may involve operations at a client device 102 in conjunctionwith operations of a messaging server system 108. In some embodiments,method 1100 is embodied in computer-readable instructions stored in anon-transitory storage of a client device 102 that performs method 1100when the instructions are executed by processing circuitry of the clientdevice 102.

Method 1100 begins with operation 1102 accessing, using one or moreprocessors of a device, a computer animation model, where the computeranimation model includes a plurality of motion states. Operation 1104then involves generating, using the one or more processors, a videooutput on a display of the device and the computer animation model, andoperation 1106 involves detecting, using the one or more processors,audio data from a microphone of the device. Depending on the timing ofthe audio data and the particular images associated with a computeranimation model, the initial frames displayed on the video output usingthe computer animation model can include stationary images generated andapplied to the video frames, or default animation images. The audio datais processed in operation 1108 to determine a set of audiocharacteristics for the audio data received at the microphone of thedevice. As detailed above, when music having a beat is present, a tempovalue can be detected as part of this processing, with the tempo valueused to determine animation speeds for motion patterns of the computeranimation model. Operation 1110 involves randomly selecting, by the oneor more processors, a first motion state from the plurality of motionstates. Operation 1112 involves generating one or more motion values ofthe first motion state using the set of audio characteristics (e.g. theharmonic speed times the tempo value to determine how frequently amotion pattern is repeated). Operation 1114 then involves generating avideo using the one or more motion values with the computer animationmodel to create an animated action within the video. The animated actionwithin the video includes a motion of a skin (e.g. a skin image of athree dimensional model from a perspective of the video or a twodimensional surface image of a two dimensional model associated with thecomputer animation model).

Such embodiments can operate where the set of audio characteristicscomprises a tempo value, and where generating the one or more motionvalues comprises selecting a motion pattern speed for a first controlpoint of the computer animation model to match a first harmonic of thetempo value. Such embodiments can further involve periodically randomlyselecting a new motion state from the plurality of motion states,generating one or more new motion values of the new motion state usingthe set of audio characteristics, and updating the video using the oneor more new motion values with the new motion state to change theanimated action within the video.

Some embodiments further involve updating the set of audiocharacteristics over time in response to changes in the audio data andupdating the one or more motion values in response to changes in the setof audio characteristics over time. For some such embodiments, thecomputer animation model is associated with one or more audio animationcriteria used to initiate the animated action within the video.Additionally, in some embodiments, the method can further involvecomparing the set of audio characteristics with the one or more audioanimation criteria and selecting a default state for the computeranimation model when the set of audio characteristics does not meet theone or more audio animation criteria, wherein the plurality of motionstates does not include the default state. Other criteria can be used asdescribed above for initiating the animation or for selecting differentanimation state-spaces based on analysis of audio data and matching to adesigned motion state-space for a computer animation model.

In some embodiments, the set of audio characteristics comprises an audioenergy value and the first motion state is randomly selected from asubset of the plurality of motion states based on the audio energyvalue, wherein the subset of the plurality of motion states comprise anaudio energy match characteristic associated with the audio energyvalue. In some such embodiments, the set of audio characteristicsfurther comprises a beat value, a tempo value, a melody value, and adanceability value. Similarly, in some embodiments, the audio energyvalue and the danceability value are based on a beat consistency overtime value and a fundamental frequency value associated with a melody ofthe audio data. Other embodiments can use other such combinations orother data characteristics.

FIG. 12 illustrates an example method 1200 in accordance with someembodiments described herein. FIG. 12 is a flowchart illustrating amethod for managing a state-space for a pseudo random computer animationmodel, according to certain example embodiments. Method 1200 may involveoperations at a client device 102 in conjunction with operations of amessaging server system 108. In some embodiments, method 1200 isembodied in computer-readable instructions stored in a non-transitorystorage of a client device 102 that performs method 1200 when theinstructions are executed by processing circuitry of the client device102.

Method 1200 begins with operation 1202 identifying, using one or moreprocessors of a device, a plurality of animation elements within acomputer model. Then in operation 1204 an animation element (e.g. acontrol point or fixed motion element such as a bone or two dimensionalpattern with association motions) is selected. In operations 1205 and1206, motion pattern(s) and speed harmonic(s) are associated with theselected animation element. In operation 1207, this is repeated until acheck confirms that all animation elements have been set in thestate-space description for the implementation of the computer model.Then in operation 1208, the set of motion data values are generatedcomprising a state-space description of the plurality of motion patternsand the plurality of speed harmonics for the plurality of animationelements within the computer model, and in operation 1210, a probabilityis assigned to each value of the set of motion data values for thestate-space description. This data, including the assigned probability,can then be distributed and used in creating pseudorandom animations asdescribed herein.

In various embodiments, the probability for each value of the set ofmotion data values is selected via a user input through an overlaymanagement interface configured to suppress unselected values of thestate-space in order to create a selected state-space with probabilitiesfor motion combinations of the plurality of motion patters based onmatching the selected state-space with a set of dance motion values. Insome such embodiments, the computer model and the plurality of animationelements are generated by processing an image using an overlay templateto generate the computer model and the plurality of animation elements.Some such embodiments then operate by generating, on a display of a userdevice, an output image using the image, the computer model, and theplurality of animation elements, processing audio inputs to identify aset of audio characteristics for audio data received at a microphone ofthe user device, and animating the output image using the skinned modeland the set of motion data values including the probability for eachvalue of the set of motion data values.

Similarly, some embodiments further involve configurations whereidentifying the plurality of motion patterns comprises receiving, via auser interface input of an overlay management interface, a userselection of the plurality of motion patterns selected from a set ofsystem motion patterns, wherein a subset of the set of system motionpatterns is selected for each animation element of the plurality ofanimation elements, and such embodiments can also operate whereidentifying the plurality of speed harmonics comprises selecting a speedharmonic for each user selection of the plurality of motion patterns,such that the state-space description of the plurality of motionpatterns comprises the selected combinations of motion patterns andspeed harmonics for each of the plurality of animation elements.

In some embodiments, assigning the probability to each value of the setof motion data values for the state-space description can involvedisplaying a first animation comprising a first animation elementanimated with a first combination of a first motion pattern and a firstspeed harmonic for a selected tempo and receiving a user input assigninga corresponding probability for the first animation element, the firstmotion pattern, and the first speed harmonic.

Some embodiments can operate where assigning, by the one or moreprocessors, the probability to each value of the set of motion datavalues for the state-space description involves, for each animationelement of the plurality of animation elements and each of the selectedcombinations of motion patterns and speed harmonics for each animationelement: displaying an output animation of the computer model with acorresponding combination of each motion pattern and speed harmonics fora corresponding animation element; and receiving a corresponding userinput assigning a corresponding probability to generate the probabilityto each value of the set of motion data values for the state-spacedescription. In some such embodiments, the set of audio characteristicscomprises a tempo value and a danceability value, and the danceabilityvalue can involve a value derived from a beat consistency score and atleast one music energy criteria. In other embodiments, other criteriafor such an audio characteristic can be used.

In some embodiments, an output image is animated during a first timeperiod when the audio data meets the at least one music energy criteriaand wherein the output image is not animated during a second time periodwhen the audio data does not meet the at least one music energycriteria.

The set of audio characteristics can, in some embodiments, include aplurality of audio energy characteristics, with each of the plurality ofaudio energy characteristics is associated with a correspondingdiffering probability for each value of the set of motion data valuesfor the state-space description to match differing audio energycharacteristics with differing motion values of the state-space.

Some embodiments involve generating a set of normalized audio energyvalues based on a set of standard audio input characteristics, selectinga minimum audio energy threshold and a maximum audio energy threshold,calculating a model motion energy for each value of the set of motiondata values for the state-space description using a first motion model,matching the first motion model to the set of normalized audio energyvalues, and assigning a zero probability to a set of values of the setof motion data values for the state-space description where acorresponding model motion energy is less than the minimum audio energythreshold or greater than the maximum audio energy threshold as matchedfrom the first motion model to the set of normalized audio energyvalues. Other embodiments can use other such configurations forthresholds to determine pseudorandom animations for a computer animationmodel as described herein.

FIG. 13 illustrates an example method 1300 in accordance with someembodiments described herein. FIG. 13 is a flowchart illustrating amethod for designing and selecting managing a state-space for a pseudorandom computer animation model, according to certain exampleembodiments. Method 1300 may involve operations at a client device 102in conjunction with operations of a messaging server system 108. In someembodiments, method 1300 is embodied in computer-readable instructionsstored in a non-transitory storage of a client device 102 that performsmethod 1300 when the instructions are executed by processing circuitryof the client device 102.

Method 1300 begins with operation 1302 generating, using one or moreprocessors of a computing device, image modification data comprising acomputer animation model configured to modify frames of a video image toinsert and animate the computer animation model within the frames of thevideo image, wherein the computer animation model of the imagemodification data comprises one or more control points. Followingoperation 1302, operation 1304 involves automatically associating, bythe one or more processors of the computing device, a plurality ofmotion patterns and one or more speed harmonics with the one or morecontrol points. In other embodiments, other elements can be associatedwith the control points, or modifications to existing associations canbe made is such operations.

Operation 1306 involves automatically generating a plurality of motionstates for the computer animation model using the plurality of motionpatterns, the one or more control points, and the one or more speedharmonics. An initial set of motion states can be automatically assignedin such embodiments, with additional modifications made either inresponse to designer criteria, specific modifications of individualmotion states or state-space elements included by designer selection, orother such operations. Operation 1308 then involves automaticallyassigning a probability value for each motion state of the plurality ofmotion states, wherein each motion state of the plurality of motionstates comprises a speed harmonic of the one or more speed harmonics anda motion pattern of the plurality of motion patterns for each controlpoint of the one or more control points of the computer animation model.The automatic assignment can involve assigning certain probabilityvalues to certain motions or combinations of motions, or a set ofdefault probabilities. Such probabilities can then be updated based ondesigner selections.

The speed harmonic for each motion state is, in some embodiments,configured to set an animation speed for the motion pattern to repeat ona harmonic of a tempo value of audio data collected by a user deviceexecuting the image modification data. Example embodiments can operatewhere the harmonic of the tempo value is selected from 1, 2, 4, 0.5,0.25, and 0.125 of the tempo value. Other embodiments can use anydesigner selected harmonic used to match complex motions to audio data.

A probability selection user interface can, in some embodiments, be usedby a designer to select probabilities for a state-space using aninterface on a display of the computing device. In some suchembodiments, the probability selection user interface including ananimation window comprising an animated video of the computer animationmodel for a motion state, and a selectable probability weight for themotion state. Similarly, in some embodiments, a probability selectionuser interface displays a plurality of animation windows each associatedwith a corresponding motion state and a corresponding selectableprobability weight for the corresponding motion state. In some suchembodiments, a probability selection user interface further includes afilter input for sorting motion states illustrated within theprobability selection user interface, and in some such embodiments, thefilter input sorts the motion states illustrated based on one or more ofa motion type, a harmonic speed, and a control point.

Each motion state can, in various embodiments, be associated with aselectable energy threshold, such that the corresponding selectableprobability weight for the corresponding motion state is based on audiocharacteristics of audio data used by the image modification data toanimate the computer animation model within the frames of the videoimage. In such embodiments, a probability selection user interfacefurther can include an energy threshold input for each motion state, andone or more selectable audio energy samples. In some such embodiments, acomputer animation model comprises a two-dimensional overlay generatedby analyzing content of the frames of the video image and replacingportions of the frames of the video image with one or more animationelements. In other embodiments, computer animation model comprises anoverlay generated by analyzing content of the frames of the video imageand replacing portions of the frames of the video image with arepresentation of a three-dimensional model comprising a skin over askeleton model comprising the one or more control points.

Various example embodiments an methods are described above. It will beunderstood that, while specific structures and sets of operations aredescribed, intervening or repeated structures and operations arepossible within the scope of the embodiments described herein, and thespecifically described examples are not exhaustive.

Software Architecture

FIG. 14 is a block diagram illustrating an example software architecture1406, which may be used in conjunction with various hardwarearchitectures herein described. FIG. 14 is a non-limiting example of asoftware architecture and it will be appreciated that many otherarchitectures may be implemented to facilitate the functionalitydescribed herein. The software architecture 1406 may execute on hardwaresuch as the machine 1500 of FIG. 15 that includes, among other things,processors 1504, memory 1514, and I/O components 1518. A representativehardware layer 1452 is illustrated and can represent, for example, themachine 1500 of FIG. 15. The representative hardware layer 1452 includesa processing unit 1454 having associated executable instructions 1404.Executable instructions 1404 represent the executable instructions ofthe software architecture 1406, including implementation of the methods,components and so forth described herein. The hardware layer 1452 alsoincludes memory and/or storage modules memory/storage 1456, which alsohave executable instructions 1404. The hardware layer 1452 may alsocomprise other hardware 1458.

In the example architecture of FIG. 14, the software architecture 1406may be conceptualized as a stack of layers where each layer providesparticular functionality. For example, the software architecture 1406may include layers such as an operating system 1402, libraries 1420,applications 1416 and a presentation layer 1414. Operationally, theapplications 1416 and/or other components within the layers may invokeapplication programming interface (API) API calls 1408 through thesoftware stack and receive messages 1412 in response to the API calls1408. The layers illustrated are representative in nature and not allsoftware architectures have all layers. For example, some mobile orspecial purpose operating systems may not provide aframeworks/middleware 1418, while others may provide such a layer. Othersoftware architectures may include additional or different layers.

The operating system 1402 may manage hardware resources and providecommon services. The operating system 1402 may include, for example, akernel 1422, services 1424 and drivers 1426. The kernel 1422 may act asan abstraction layer between the hardware and the other software layers.For example, the kernel 1422 may be responsible for memory management,processor management (e.g., scheduling), component management,networking, security settings, and so on. The services 1424 may provideother common services for the other software layers. The drivers 1426are responsible for controlling or interfacing with the underlyinghardware. For instance, the drivers 1426 include display drivers, cameradrivers, Bluetooth® drivers, flash memory drivers, serial communicationdrivers (e.g., Universal Serial Bus (USB) drivers), Wi-Fi® drivers,audio drivers, power management drivers, and so forth depending on thehardware configuration.

The libraries 1420 provide a common infrastructure that is used by theapplications 1416 and/or other components and/or layers. The libraries1420 provide functionality that allows other software components toperform tasks in an easier fashion than to interface directly with theunderlying operating system 1402 functionality (e.g., kernel 1422,services 1424 and/or drivers 1426). The libraries 1420 may includesystem libraries 1444 (e.g., C standard library) that may providefunctions such as memory allocation functions, string manipulationfunctions, mathematical functions, and the like. In addition, thelibraries 1420 may include API libraries 1446 such as media libraries(e.g., libraries to support presentation and manipulation of variousmedia format such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG), graphicslibraries (e.g., an OpenGL framework that may be used to render 2D and3D in a graphic content on a display), database libraries (e.g., SQLitethat may provide various relational database functions), web libraries(e.g., WebKit that may provide web browsing functionality), and thelike. The libraries 1420 may also include a wide variety of otherlibraries 1448 to provide many other APIs to the applications 1416 andother software components/modules.

The frameworks/middleware 1418 (also sometimes referred to asmiddleware) provide a higher-level common infrastructure that may beused by the applications 1416 and/or other software components/modules.For example, the frameworks/middleware 1418 may provide various graphicuser interface (GUI) functions, high-level resource management,high-level location services, and so forth. The frameworks/middleware1418 may provide a broad spectrum of other APIs that may be utilized bythe applications 1416 and/or other software components/modules, some ofwhich may be specific to a particular operating system 1402 or platform.

The applications 1416 include built-in applications 1438 and/orthird-party applications 1440. Examples of representative built-inapplications 1438 may include, but are not limited to, a contactsapplication, a browser application, a book reader application, alocation application, a media application, a messaging application,and/or a game application. Third-party applications 1440 may include anapplication developed using the ANDROID™ or IOS™ software developmentkit (SDK) by an entity other than the vendor of the particular platform,and may be mobile software running on a mobile operating system such asIOS™, ANDROID™, WINDOWS® Phone, or other mobile operating systems. Thethird-party applications 1440 may invoke the API calls 1408 provided bythe mobile operating system (such as operating system 1402) tofacilitate functionality described herein.

The applications 1416 may use built in operating system functions (e.g.,kernel 1422, services 1424 and/or drivers 1426), libraries 1420, andframeworks/middleware 1418 to create user interfaces to interact withusers of the system. Alternatively, or additionally, in some systemsinteractions with a user may occur through a presentation layer, such aspresentation layer 1414. In these systems, the application/component“logic” can be separated from the aspects of the application/componentthat interact with a user.

FIG. 15 is a block diagram illustrating components of a machine 1500,according to some example embodiments, able to read instructions 1404from a machine-readable medium (e.g., a machine-readable storage medium)and perform any one or more of the methodologies discussed herein.Specifically, FIG. 15 shows a diagrammatic representation of the machine1500 in the example form of a computer system, within which instructions1510 software, a program, an application, an applet, an app, or otherexecutable code) for causing the machine 1500 to perform any one or moreof the methodologies discussed herein may be executed. As such, theinstructions 1510 may be used to implement modules or componentsdescribed herein. The instructions 1510 transform the general,non-programmed machine 1500 into a particular machine 1500 programmed tocarry out the described and illustrated functions in the mannerdescribed. In alternative embodiments, the machine 1500 operates as astandalone device or may be coupled (e.g., networked) to other machines.In a networked deployment, the machine 1500 may operate in the capacityof a server machine or a client machine in a server-client networkenvironment, or as a peer machine in a peer-to-peer (or distributed)network environment. The machine 1500 may comprise, but not be limitedto, a server computer, a client computer, a personal computer (PC), atablet computer, a laptop computer, a netbook, a set-top box (STB), apersonal digital assistant (PDA), an entertainment media system, acellular telephone, a smart phone, a mobile device, a wearable device(e.g., a smart watch), a smart home device (e.g., a smart appliance),other smart devices, a web appliance, a network router, a networkswitch, a network bridge, or any machine capable of executing theinstructions 1510, sequentially or otherwise, that specify actions to betaken by machine 1500. Further, while only a single machine 1500 isillustrated, the term “machine” shall also be taken to include acollection of machines that individually or jointly execute theinstructions 1510 to perform any one or more of the methodologiesdiscussed herein.

The machine 1500 may include processors 1504, memory memory/storage1506, and I/O components 1518, which may be configured to communicatewith each other such as via a bus 1502. The memory/storage 1506 mayinclude a memory 1514, such as a main memory, or other memory storage,and a storage unit 1516, both accessible to the processors 1504 such asvia the bus 1502. The storage unit 1516 and memory 1514 store theinstructions 1510 embodying any one or more of the methodologies orfunctions described herein. The instructions 1510 may also reside,completely or partially, within the memory 1514, within the storage unit1516, within at least one of the processors 1504 (e.g., within theprocessor's cache memory), or any suitable combination thereof, duringexecution thereof by the machine 1500. Accordingly, the memory 1514, thestorage unit 1516, and the memory of processors 1504 are examples ofmachine-readable media.

The I/O components 1518 may include a wide variety of components toreceive input, provide output, produce output, transmit information,exchange information, capture measurements, and so on. The specific I/Ocomponents 1518 that are included in a particular machine 1500 willdepend on the type of machine. For example, portable machines such asmobile phones will likely include a touch input device or other suchinput mechanisms, while a headless server machine will likely notinclude such a touch input device. It will be appreciated that the I/Ocomponents 1518 may include many other components that are not shown inFIG. 15. The I/O components 1518 are grouped according to functionalitymerely for simplifying the following discussion and the grouping is inno way limiting. In various example embodiments, the I/O components 1518may include output components 1526 and input components 1528. The outputcomponents 1526 may include visual components (e.g., a display such as aplasma display panel (PDP), a light emitting diode (LED) display, aliquid crystal display (LCD), a projector, or a cathode ray tube (CRT)),acoustic components (e.g., speakers), haptic components (e.g., avibratory motor, resistance mechanisms), other signal generators, and soforth. The input components 1528 may include alphanumeric inputcomponents (e.g., a keyboard, a touch screen configured to receivealphanumeric input, a photo-optical keyboard, or other alphanumericinput components), point based input components (e.g., a mouse, atouchpad, a trackball, a joystick, a motion sensor, or other pointinginstrument), tactile input components (e.g., a physical button, a touchscreen that provides location and/or force of touches or touch gestures,or other tactile input components), audio input components (e.g., amicrophone), and the like.

In further example embodiments, the I/O components 1518 may includebiometric components 1530, motion components 1534, environmentalenvironment components 1536, or position components 1538 among a widearray of other components. For example, the biometric components 1530may include components to detect expressions (e.g., hand expressions,facial expressions, vocal expressions, body gestures, or eye tracking),measure biosignals (e.g., blood pressure, heart rate, body temperature,perspiration, or brain waves), identify a person (e.g., voiceidentification, retinal identification, facial identification,fingerprint identification, or electroencephalogram basedidentification), and the like. The motion components 1534 may includeacceleration sensor components (e.g., accelerometer), gravitation sensorcomponents, rotation sensor components (e.g., gyroscope), and so forth.The environment components 1536 may include, for example, illuminationsensor components (e.g., photometer), temperature sensor components oneor more thermometer that detect ambient temperature), humidity sensorcomponents, pressure sensor components (e.g., barometer), acousticsensor components (e.g., one or more microphones that detect backgroundnoise), proximity sensor components (e.g., infrared sensors that detectnearby objects), gas sensors (e.g., gas detection sensors to detectionconcentrations of hazardous gases for safety or to measure pollutants inthe atmosphere), or other components that may provide indications,measurements, or signals corresponding to a surrounding physicalenvironment. The position components 1538 may include location sensorcomponents (e.g., a Global Position system (GPS) receiver component),altitude sensor components (e.g., altimeters or barometers that detectair pressure from which altitude may be derived), orientation sensorcomponents (e.g., magnetometers), and the like.

Communication may be implemented using a wide variety of technologies.The I/O components 1518 may include communication components 1540operable to couple the machine 1500 to a network 1532 or devices 1520via coupling 1524 and coupling 1522 respectively. For example, thecommunication components 1540 may include a network interface componentor other suitable device to interface with the network 1532. In furtherexamples, communication components 1540 may include wired communicationcomponents, wireless communication components, cellular communicationcomponents, near field communication (NFC) components, Bluetooth®components (e.g., Bluetooth® Low Energy), Wi-Fi® components, and othercommunication components to provide communication via other modalities.The devices 1520 may be another machine or any of a wide variety ofperipheral devices (e.g., a peripheral device coupled via a UniversalSerial Bus (USB)).

Moreover, the communication components 1540 may detect identifiers orinclude components operable to detect identifiers. For example, thecommunication components 1540 may include radio frequency identification(RFID) tag reader components, NFC smart tag detection components,optical reader components (e.g., an optical sensor to detectone-dimensional bar codes such as Universal Product Code (UPC) bar code,multi-dimensional bar codes such as Quick Response (QR) code, Azteccode, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code, UCC RSS-2Dbar code, and other optical codes), or acoustic detection components(e.g., microphones to identify tagged audio signals). In addition, avariety of information may be derived via the communication components1540, such as, location via Internet Protocol (IP) geo-location,location via Wi-Fi® signal triangulation, location via detecting a NFCbeacon signal that may indicate a particular location, and so forth.

Glossary

“CARRIER SIGNAL”, in this context refers, to any intangible medium thatis capable of storing, encoding, or carrying instructions 1510 forexecution by the machine 1500, and includes digital or analogcommunications signals or other intangible medium to facilitatecommunication of such instructions 1510. Instructions 1510 may betransmitted or received over the network 1532 using a transmissionmedium via a network interface device and using any one of a number ofwell-known transfer protocols.

“CLIENT DEVICE”, in this context, refers to any machine 1500 thatinterfaces to a communications network 1532 to obtain resources from oneor more server systems or other client devices 102. A client device 102may be, but is not limited to, a mobile phone, desktop computer, laptop,portable digital assistants (PDAs), smart phones, tablets, ultra books,netbooks, laptops, multi-processor systems, microprocessor-based orprogrammable consumer electronics, game consoles, set-top boxes, or anyother communication device that a user may use to access a network 1532.

“COMMUNICATIONS NETWORK”, in this context, refers to one or moreportions of a network 1532 that may be an ad hoc network, an intranet,an extranet, a virtual private network (VPN), a local area network(LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN(WWAN), a metropolitan area network (MAN), the Internet, a portion ofthe Internet, a portion of the Public Switched Telephone Network (PSTN),a plain old telephone service (POTS) network, a cellular telephonenetwork, a wireless network, a Wi-Fi® network, another type of network,or a combination of two or more such networks. For example, a network1532 or a portion of a network may include a wireless or cellularnetwork and the coupling 1524 may be a Code Division Multiple Access(CDMA) connection, a Global System for Mobile communications (GSM)connection, or other type of cellular or wireless coupling. In thisexample, the coupling 1524 may implement any of a variety of types ofdata transfer technology, such as Single Carrier Radio TransmissionTechnology (1×RTT), Evolution-Data Optimized (EVDO) technology, GeneralPacket Radio Service (GPRS) technology, Enhanced Data rates for GSMEvolution (EDGE) technology, third Generation Partnership Project (3GPP)including 3G, fourth generation wireless (4G) networks, Universal MobileTelecommunications System (UMTS), High Speed Packet Access (HSPA),Worldwide Interoperability for Microwave Access (WiMAX), Long TermEvolution (LTE) standard, others defined by various standard settingorganizations, other long range protocols, or other data transfertechnology.

“EMPHEMERAL MESSAGE”, in this context, refers to a message that isaccessible for a time-limited duration. An ephemeral message may be atext, an image, a video and the like. The access time for the ephemeralmessage may be set by the message sender. Alternatively, the access timemay be a default setting or a setting specified by the recipient.Regardless of the setting technique, the message is transitory.

“MACHINE-READABLE MEDIUM”, in this context, refers to a component,device or other tangible media able to store instructions 1510 and datatemporarily or permanently and may include, but is not be limited to,random-access memory (RAM), read-only memory (ROM), buffer memory, flashmemory, optical media, magnetic media, cache memory, other types ofstorage (e.g., erasable programmable read-only memory (EEPROM)) and/orany suitable combination thereof. The term “machine-readable medium”should be taken to include a single medium or multiple media (e.g., acentralized or distributed database 120, or associated caches andservers) able to store instructions 1510. The term “machine-readablemedium” shall also be taken to include any medium, or combination ofmultiple media, that is capable of storing instructions 1510 (e.g.,code) for execution by a machine 1500, such that the instructions 1510,when executed by one or more processors 1504 of the machine 1500, causethe machine to perform any one or more of the methodologies describedherein. Accordingly, a “machine-readable medium” refers to a singlestorage apparatus or device, as well as “cloud-based” storage systems orstorage networks that include multiple storage apparatus or devices. Theterm “machine-readable medium” excludes signals per se.

“COMPONENT”, in this context, refers to a device, physical entity orlogic having boundaries defined by function or subroutine calls, branchpoints, application program interfaces (APIs), or other technologiesthat provide for the partitioning or modularization of particularprocessing or control functions. Components may be combined via theirinterfaces with other components to carry out a machine process. Acomponent may be a packaged functional hardware unit designed for usewith other components and a part of a program that usually performs aparticular function of related functions. Components may constituteeither software components (e.g., code embodied on a machine-readablemedium) or hardware components. A “hardware component” is a tangibleunit capable of performing certain operations and may be configured orarranged in a certain physical manner. In various example embodiments,one or more computer systems (e.g., a standalone computer system, aclient computer system, or a server computer system) or one or morehardware components of a computer system (e.g., a processor or a groupof processors) may be configured by software (e.g., an application orapplication portion) as a hardware component that operates to performcertain operations as described herein. A hardware component may also beimplemented mechanically, electronically, or any suitable combinationthereof. For example, a hardware component may include dedicatedcircuitry or logic that is permanently configured to perform certainoperations. A hardware component may be a special-purpose processor,such as a field-programmable gate array (FPGA) or an applicationspecific integrated circuit (ASIC). A hardware component may alsoinclude programmable logic or circuitry that is temporarily configuredby software to perform certain operations. For example, a hardwarecomponent may include software executed by a general-purpose processoror other programmable processor 1508. Once configured by such software,hardware components become specific machines (or specific components ofa machine) uniquely tailored to perform the configured functions and areno longer general-purpose processors 1508. It will be appreciated thatthe decision to implement a hardware component mechanically, indedicated and permanently configured circuitry, or in temporarilyconfigured circuitry (e.g., configured by software) may be driven bycost and time considerations. Accordingly, the phrase “hardwarecomponent” (or “hardware-implemented component”) should be understood toencompass a tangible entity, be that an entity that is physicallyconstructed, permanently configured (e.g., hardwired), or temporarilyconfigured (e.g., programmed) to operate in a certain manner or toperform certain operations described herein. Considering embodiments inwhich hardware components are temporarily configured (e.g., programmed),each of the hardware components need not be configured or instantiatedat any one instance in time. For example, where a hardware componentcomprises a general-purpose processor 1508 configured by software tobecome a special-purpose processor, the general-purpose processor 1508may be configured as respectively different special-purpose processors(e.g., comprising different hardware components) at different times.Software accordingly configures a particular processor 1508 orprocessors 1504, for example, to constitute a particular hardwarecomponent at one instance of time and to constitute a different hardwarecomponent at a different instance of time. Hardware components canprovide information to, and receive information from, other hardwarecomponents. Accordingly, the described hardware components may beregarded as being communicatively coupled. Where multiple hardwarecomponents exist contemporaneously, communications may be achievedthrough signal transmission (e.g., over appropriate circuits and buses)between or among two or more of the hardware components. In embodimentsin which multiple hardware components are configured or instantiated atdifferent times, communications between such hardware components may beachieved, for example, through the storage and retrieval of informationin memory structures to which the multiple hardware components haveaccess. For example, one hardware component may perform an operation andstore the output of that operation in a memory device to which it iscommunicatively coupled. A further hardware component may then, at alater time, access the memory device to retrieve and process the storedoutput. Hardware components may also initiate communications with inputor output devices, and can operate on a resource (e.g., a collection ofinformation). The various operations of example methods described hereinmay be performed, at least partially, by one or more processors 1504that are temporarily configured (e.g., by software) or permanentlyconfigured to perform the relevant operations. Whether temporarily orpermanently configured, such processors 1504 may constituteprocessor-implemented components that operate to perform one or moreoperations or functions described herein. As used herein,“processor-implemented component” refers to a hardware componentimplemented using one or more processors 1504. Similarly, the methodsdescribed herein may be at least partially processor-implemented, with aparticular processor or processors 1504 being an example of hardware.For example, at least some of the operations of a method may beperformed by one or more processors 1504 or processor-implementedcomponents. Moreover, the one or more processors 1504 may also operateto support performance of the relevant operations in a “cloud computing”environment or as a “software as a service” (SaaS). For example, atleast some of the operations may be performed by a group of computers(as examples of machines 1500 including processors 1504), with theseoperations being accessible via a network 1532 (e.g., the Internet) andvia one or more appropriate interfaces (e.g., an application programinterface (API)). The performance of certain of the operations may bedistributed among the processors 1504, not only residing within a singlemachine 1500, but deployed across a number of machines. In some exampleembodiments, the processors 1504 or processor-implemented components maybe located in a single geographic location (e.g., within a homeenvironment, an office environment, or a server farm). In other exampleembodiments, the processors 1504 or processor-implemented components maybe distributed across a number of geographic locations.

“PROCESSOR”, in this context, refers to any circuit or virtual circuit(a physical circuit emulated by logic executing on an actual processor1508) that manipulates data values according to control signals (e.g.,“commands”, “op codes”, “machine code”, etc.) and which producescorresponding output signals that are applied to operate a machine 1500.A processor 1508 may, for example, be a central processing unit (CPU), areduced instruction set computing (RISC) processor, a complexinstruction set computing (CISC) processor, a graphics processing unit(GPU), a digital signal processor (DSP), an application specificintegrated circuit (ASIC), a radio-frequency integrated circuit (RFIC)or any combination thereof. A processor 1508 may further be a multi-coreprocessor having two or more independent processors (sometimes referredto as “cores”) that may execute instructions contemporaneously.

“TIMESTAMP”, in this context, refers to a sequence of characters orencoded information identifying when a certain event occurred, forexample giving date and time of day, sometimes accurate to a smallfraction of a second.

1. A method comprising: generating, using one or more processors of acomputing device, a computer animation model, the computer animationmodel comprising one or more control points arranged in a video image atan intersecting point between each of a plurality of individual videoframes; fragmenting the video image into the plurality of individualvideo frames each with at least one frame boundary; placing a portion ofthe video image into each of the plurality of individual video frames;animating each frame boundary within the video image, the animatingcomprising a movement animation that follows the one or more controlpoints that are arranged at the intersecting point between each of theplurality of individual video frames; associating, by the one or moreprocessors of the computing device, a plurality of motion patterns andone or more speed harmonics with the one or more control points;generating a plurality of motion states for the computer animation modelusing the plurality of motion patterns, the one or more control points,and the one or more speed harmonics; assigning a probability value foreach motion state of the plurality of motion states, wherein each motionstate of the plurality of motion states comprises a speed harmonic ofthe one or more speed harmonics and a motion pattern of the plurality ofmotion patterns for each control point of the one or more control pointsof the computer animation model.
 2. The method of claim 1 wherein thespeed harmonic for each motion state is configured to set an animationspeed for the motion pattern to repeat on a harmonic of a tempo value ofaudio data collected by a user device executing the image modificationdata.
 3. The method of claim 2 wherein the harmonic of the tempo valueis selected from 1, 2; 4, 0.5, 0.25, and 0.125 of the tempo value. 4.The method of claim 1 further comprising displaying a probabilityselection user interface on a display of the computing device, theprobability selection user interface including an animation windowcomprising an animated video of the computer animation model for amotion state, and a selectable probability weight for the motion state.5. The method of claim 4 wherein the probability selection userinterface displays a plurality of animation windows each associated witha corresponding motion state and a corresponding selectable probabilityweight for the corresponding motion state.
 6. The method of claim 4wherein the probability selection user interface further comprises afilter input for sorting motion states illustrated within theprobability selection user interface.
 7. The method of claim 6 whereinthe filter input sorts the motion states illustrated based on one ormore of a motion type, a harmonic speed, and a control point.
 8. Themethod of claim 1 wherein each motion state is further associated with aselectable energy threshold, such that the corresponding selectableprobability weight for the corresponding motion state is based on audiocharacteristics of audio data used by the image modification data toanimate the computer animation model within the frames of the videoimage; wherein the probability selection user interface furthercomprises an energy threshold input for each motion state, and one ormore selectable audio energy samples.
 9. The method of claim 1 whereinthe computer animation model comprises a two-dimensional overlaygenerated by analyzing content of the frames of the video image andreplacing portions of the frames of the video image with one or moreanimation elements.
 10. The method of claim 1 wherein the computeranimation model comprises an overlay generated by analyzing content ofthe frames of the video image and replacing portions of the frames ofthe video image with a representation of a three-dimensional modelcomprising a skin over a skeleton model comprising the one or morecontrol points.
 11. A device comprising: a display; a memory; and one ormore processors coupled to the memory and configured to performoperations comprising: generating a computer animation model, thecomputer animation model comprising one or more control points arrangedin a video image at an intersecting point between each of a plurality ofindividual video frames; fragmenting the video image into the pluralityof individual video frames each with at least one frame boundary;placing a portion of the video image into each of the plurality ofindividual video frames; animating each frame boundary within the videoimage, the animating comprising a movement animation that follows theone or more control points that are arranged at the intersecting pointbetween each of the plurality of individual video frames; associating aplurality of motion patterns and one or more speed harmonics with theone or more control points; generating a plurality of motion states forthe computer animation model using the plurality of motion patterns, theone or more control points, and the one or more speed harmonics; andassigning a probability value for each motion state of the plurality ofmotion states, wherein each motion state of the plurality of motionstates comprises a speed harmonic of the one or more speed harmonics anda motion pattern of the plurality of motion patterns for each controlpoint of the one or more control points of the computer animation model.12. The device of claim 11 wherein the speed harmonic for each motionstate is configured to set an animation speed for the motion pattern torepeat on a harmonic of a tempo value of audio data collected by a userdevice executing the image modification data.
 13. The device of claim 11wherein the one or more processors are further configured to initiatedisplay of a probability selection user interface on the display of thecomputing device, the probability selection user interface including ananimation window comprising an animated video of the computer animationmodel for a motion state, and a selectable probability weight for themotion state.
 14. The device of claim 13 wherein the probabilityselection user interface displays a plurality of animation windows eachassociated with a corresponding motion state and a correspondingselectable probability weight for the corresponding motion state. 15.The device of claim 14 wherein the probability selection user interfacefurther comprises a filter input for sorting motion states illustratedwithin the probability selection user interface.
 16. The device of claim15 wherein the filter input sorts the motion states illustrated based onone or more of a motion type, a harmonic speed, and a control point. 17.The device of claim 14 wherein each motion state is further associatedwith a selectable energy threshold, such that the correspondingselectable probability weight for the corresponding motion state isbased on audio characteristics of audio data used by the imagemodification data to animate the computer animation model within theframes of the video image; and wherein the probability selection userinterface further comprises an energy threshold input for each motionstate, and one or more selectable audio energy samples.
 18. Anon-transitory computer readable medium comprising instructions that,when executed by processing circuitry of a device, cause the device toperform operations of a method comprising: generating a computeranimation model, the computer animation model comprising one or morecontrol points arranged in a video image at an intersecting pointbetween each of a plurality of individual video frames; fragmenting thevideo image into the plurality of individual video frames each with atleast one frame boundary; placing a portion of the video image into eachof the plurality of individual video frames; animating each frameboundary within the video image, the animating comprising a movementanimation that follows the one or more control points that are arrangedat the intersecting point between each of the plurality of individualvideo frames; automatically associating a plurality of motion patternsand one or more speed harmonics the one or more control points;automatically generating a plurality of motion states for the computeranimation model using the plurality of motion patterns, the one or morecontrol points, and the one or more speed harmonics; and automaticallyassigning a probability value for each motion state of the plurality ofmotion states, wherein each motion state of the plurality of motionstates comprises a speed harmonic of the one or more speed harmonics anda motion pattern of the plurality of motion patterns for each controlpoint of the one or more control points of the computer animation model.19. The non-transitory computer readable medium of claim 18 wherein thecomputer animation model comprises a two-dimensional overlay generatedby analyzing content of the frames of the video image and replacingportions of the frames of the video image with one or more animationelements.
 20. The non-transitory computer readable medium of claim 18wherein the computer animation model comprises an overlay generated byanalyzing content of the frames of the video image and replacingportions of the frames of the video image with a representation of athree-dimensional model comprising a skin over a skeleton modelcomprising the one or more control points.